﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Domain.EntityInfo;
using Zocono.WCS.Domain.TelegramRecordInfoDomain;
using Zocono.WCS.Infrastructure.ApllicationDto;
using Zocono.WCS.Infrastructure.ApllicationDto.DtoWcsManage;
using Zocono.WCS.Infrastructure.ApllicationDto.WCSTaskDto;

namespace Zocono.WCS.Application.AppTelegramRecordManage
{
    public class TelegramRecordApp
    {
        private readonly ITelegramRecordInfoService _ITelegramRecordInfoService;
        private readonly IMapper _Mapper;

        public TelegramRecordApp(ITelegramRecordInfoService telegramRecordInfoService, IMapper mapper)
        {
            _ITelegramRecordInfoService = telegramRecordInfoService;
            _Mapper = mapper;
        }

        public async Task<PageDto<TelegramRecordInfoDto>> GetPagedTelegramRecordInfoAsync(QueryTelegramRecordInfo queryParams)
        {
            return await _ITelegramRecordInfoService.GetPagedTelegramRecordInfoAsync(queryParams);
        }

    }
}
